package com.simtop.dao;


import com.simtop.vo.Devicec;
import com.simtop.vo.Swrelation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SwrelationMapper {
    List<Swrelation> findlaneid(@Param("laneid")Integer laneid);
    List<Devicec> findall(@Param("laneid")Integer laneid,@Param("deviceid")Integer deviceid);
    Integer addevicec(@Param("laneid")Integer laneid,@Param("deviceid")Integer deviceid,@Param("tabledata") Float tabledata,@Param("rangedown")Float rangedown
            ,@Param("rangeup") Float rangeup,@Param("x")Float x,@Param("y") Float y,@Param("k") Float k,
                       @Param("g")Float g,@Param("level") Float level,@Param("vertical")Float vertical,
                       @Param("core")Float core,@Param("start")Integer start,@Param("end")Integer end
            ,@Param("startcontroler") Integer startcontroler,@Param("endcontroler")Integer endcontroler);
    Integer updatedevicec(@Param("laneid")Integer laneid,@Param("deviceid")Integer deviceid,@Param("tabledata") Float tabledata,@Param("rangedown")Float rangedown
            ,@Param("rangeup") Float rangeup,@Param("x")Float x,@Param("y") Float y,@Param("k") Float k,
                          @Param("g")Float g,@Param("level") Float level,@Param("vertical")Float vertical,
                          @Param("core")Float core,@Param("start")Integer start,@Param("end")Integer end
            ,@Param("startcontroler") Integer startcontroler,@Param("endcontroler")Integer endcontroler);
}
